package com.yydm.serviceorder.client;

import com.yydm.commonutils.ordervo.UcenterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name = "yydm-service-ucenter")
public interface UcenterClient {

    @PostMapping("/uuuu/getUserInfoOrder/{id}")
    public UcenterVo getUserInfoOrder(@PathVariable("id") Integer id);

}
